-
Home
-
WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting
-
1.16.5 (latest)
-
Code
-
Classes
- EmployeesController
| Total Complexity |
183 |
| Dependencies |
8 |
| Dependents |
0 |
| Total lines |
1,730 |
| Lines of code |
1,136 |
| Logical lines of code |
613 |
| Comment lines |
323 |
| Methods |
41 |
| Properties |
2 |
Methods 41
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| prepare_item_for_database() |
D |
31 |
38 |
115 |
| register_routes() |
B |
23 |
1 |
338 |
| prepare_item_for_response() |
A |
39 |
11 |
63 |
| create_history() |
A |
50 |
9 |
26 |
| get_performances() |
A |
49 |
8 |
30 |
| create_terminate() |
A |
49 |
8 |
28 |
| get_employees() |
A |
51 |
8 |
24 |
| create_employee() |
S |
52 |
6 |
22 |
| get_histories() |
S |
53 |
6 |
21 |
| get_notes() |
S |
53 |
5 |
21 |
| update_role() |
S |
53 |
5 |
20 |
| get_policies() |
S |
56 |
5 |
16 |
| create_leave() |
S |
50 |
4 |
27 |
| get_events() |
S |
58 |
4 |
13 |
| get_leaves() |
S |
52 |
3 |
24 |
| update_employee() |
S |
54 |
3 |
19 |
| update_experience() |
S |
54 |
3 |
19 |
| update_education() |
S |
55 |
3 |
18 |
| update_dependent() |
S |
55 |
3 |
18 |
| create_experience() |
S |
56 |
3 |
16 |
| create_education() |
S |
56 |
3 |
16 |
| create_dependent() |
S |
56 |
3 |
16 |
| create_performance() |
S |
56 |
3 |
16 |
| get_announcements() |
S |
57 |
3 |
15 |
| upload_photo() |
S |
59 |
3 |
14 |
| create_employees() |
S |
61 |
3 |
12 |
| update_photo() |
S |
71 |
3 |
5 |
| create_note() |
S |
57 |
2 |
14 |
| get_collection_params() |
S |
52 |
1 |
28 |
| get_experiences() |
S |
60 |
2 |
12 |
| get_educations() |
S |
60 |
2 |
12 |
| get_dependents() |
S |
60 |
2 |
12 |
| delete_note() |
S |
61 |
2 |
11 |
| get_employee() |
S |
62 |
2 |
10 |
| delete_experience() |
S |
62 |
2 |
10 |
| delete_education() |
S |
62 |
2 |
10 |
| delete_dependent() |
S |
62 |
2 |
10 |
| delete_history() |
S |
62 |
2 |
10 |
| delete_performance() |
S |
62 |
2 |
10 |
| get_roles() |
S |
64 |
2 |
9 |
| delete_employee() |
S |
69 |
1 |
6 |